﻿@model PagedList<MessageModel>
@Html.Partial("_SysMessagePage")

<div style="margin:0 auto; text-align:center;">
    <nav>
        @Ajax.Pager(Model, new PagerOptions
   {
       PageIndexParameterName = "page",
       CurrentPagerItemTemplate = "<span class=\"current\">{0}</span>",
       DisabledPagerItemTemplate = "<span class=\"disabled\">{0}</span>",
       Id = "flickrpager"
   }).AjaxOptions(a => { a.SetUpdateTargetId("dvmsglist"); a.SetOnComplete("mvcPagerComplete"); })
    </nav>
</div>